package com.lemon.cloud.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lemon.cloud.admin.entity.SysFile;
import com.lemon.cloud.comm.model.ResultMsg;
import com.lemon.cloud.admin.vo.FileVO;
import org.springframework.web.multipart.MultipartFile;

import jakarta.servlet.http.HttpServletResponse;

public interface SysFileService extends IService<SysFile> {

    ResultMsg<FileVO> uploadFile(MultipartFile file);

    void getFile(String bucket, String fileName, HttpServletResponse response);

    Boolean delFile(Long id);

    String onlineFile(String bucket, String fileName);
}
